package components
{
	import mx.core.UIComponent;
	import mx.events.ResizeEvent;

	public class flashMCcomponent extends UIComponent
	{
		public var _flashMC:flashMC = new flashMC();
		/////////////////////////
		//Constructor
		/////////////////////////
		public function flashMCcomponent()
		{
			addChild(_flashMC);
			super();
			addEventListener(ResizeEvent.RESIZE, expandFill, false, 0, true);
		}
		/////////////////////////
		//Public
		/////////////////////////
		
		
		/////////////////////////
		//Overrides
		/////////////////////////
		
		public override function getExplicitOrMeasuredWidth():Number {
			return(_flashMC.width);
		}
		public override function getExplicitOrMeasuredHeight():Number {
			return(_flashMC.height);
		}
		/////////////////////////
		//private
		/////////////////////////
		private function forceRender() :void {
			this.width = _flashMC.width;
			this.height = _flashMC.height;
		}
		private function expandFill (e:ResizeEvent):void {
			//_paginationMC.expandableFill.width = this.width - _paginationMC.expandableFill.x;
		}
		
	}
}